package cn.isjinhao.crws.sql.grammar;

/**
 * @Author ISJINHAO
 * @Date 2021/2/20 21:33
 */
public class Literal extends CurdStatement {

    public Literal(Object value) {
        this.value = value;
    }

    @Override
    public <R> R accept(CurdStatementVisitor<R> expressionVisitor) {
        return expressionVisitor.visitLiteral(this);
    }

    private final Object value;

    public Object getValue() {
        return value;
    }
}